// Copyright (c) 2009 Luca Marrocco.
// Modified or written by Luca Marrocco for inclusion with codej.
// Licensed under the Apache License, Version 2.0 (the "License")
package codej.ast;

/** @author Luca Marrocco */
public class ImportDeclaration extends AbstractNode {

	private boolean isStatic;
	private String name;

	public void accept(Visitor visitor) {
		visitor.visit(this);
	}

	public String getName() {
		return name;
	}

	public boolean isStatic() {
		return isStatic;
	}

	public ImportDeclaration setName(String name) {
		this.name = name;
		return this;
	}

	public ImportDeclaration setStatic(boolean isStatic) {
		this.isStatic = isStatic;
		return this;
	}
}
